package com.rush.manageepac.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 于zH
 * @data 2022/8/30 10:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommunityMaterial {
    private Integer id;
    private String name;
    private String type;
    private Integer num;
    private String origin;
    private String img;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date ctime;
}
